package com.ddstation.his_verify.service;

import com.ddstation.crm.institution.entity.DtHealthManageInstitutionEntity;
import com.ddstation.crm.outpatient.entity.DtHealthDataOutpatientMedicalEntity;
import com.ddstation.crm.outpatient.entity.DtHealthDataWestPrescriptionEntity;
import com.ddstation.doctor.entity.DdDoctorEntity;
import com.ddstation.home_page.model.AllPartModel;
import com.ddstation.home_page.model.HomePageDataModel;
import com.ddstation.home_page.model.HpCommonParModel;
import org.apache.ibatis.annotations.Param;

import java.text.ParseException;
import java.util.List;

public interface IHisDataCheckForInvsService {
    public void checkHisPrescriptionsMethod(String startTime,String endTime) throws ParseException;

    /**
     * 审核病历诊断
     * 810001:医疗机构超范围诊疗
     * 810002:医师超范围开具处方
     * 810003:多个执业地点同时开具处方
     * @param medical 门诊病历
     * @param institution 机构
     * @param doctor 医生
     * @return
     */
    public void auditOutpatientMedical(DtHealthDataOutpatientMedicalEntity medical
            , DtHealthManageInstitutionEntity institution
            , DdDoctorEntity doctor);

    public void auditPrescriptions(DtHealthDataOutpatientMedicalEntity medical
            , DtHealthManageInstitutionEntity institution
            , DdDoctorEntity doctor
            , List<DtHealthDataWestPrescriptionEntity> prescriptions);

}
